@using LastoRevival.Service.Contracts.Models;

@{ 
	var links = new List<string>();
	foreach (OnlineUser user in ViewBag.OnlineUsers)
	{
		var link = Html.ActionLink(user.Name, "View", "User", new { style = "color: " + user.GroupColor }).ToHtmlString();
		links.Add(link);
	}
}

<div id="whosOnline">
    @LanguageLoader.GetWord("WhosOnline"): 
		
	@Html.Raw(string.Join(", ", links.ToArray()))
</div>